home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
More Source
/
C⁄C++
/
DialogControls
/
Functions.h
< prev
next >
Wrap
Text File
|
1995-01-10
|
1KB
|
20 lines
ControlHandle SnatchHandle( DialogPtr thebox, short theGetItem);
void ParamOne( StringPtr string );
void SelectButton( DialogPtr dialog, int butID, Boolean which );
void CheckButton( DialogPtr dialog, int butID );
void EnableButton( DialogPtr dialog, int butID, Boolean which );
Boolean ButtonIsSelected( DialogPtr dialog, int butID );
void GetDialogItemRect( DialogPtr dialog, int ID, Rect *theRect );
void MenuEnable( int menuID, int item, Boolean which );
void MenuCheck( int theMenu, short whichItem, Boolean which );
short AlertBox( int dLogID, StringPtr string );
void FrameDialogItemRect( DialogPtr dialog, int ID );
void MyDeleteMenuItem( int menuID, int menuItem );
short ResourceNumberFromName( StringPtr name, ResType type );
void GetResourceNameFromID( short ID, ResType type, StringPtr name );
int RectHeight( Rect *rect );
int RectWidth( Rect *rect );
pascal void Wait( int ticks );
void FlashButton( DialogPtr dialog, int number );
void DrawResourceString( int main, int sub );